import ajax from './index'

// 小程序授权登录
export const mpLogin = (params) => ajax.post(`mini/auth/login`, params);

// 小程序新用户注册
export const silenceRegister = (params) => ajax.post(`mini/auth/silenceRegister`, params);

// 获取小程序openid
export const getOpenId = (params) => ajax.post(`mini/auth/getOpenId`, params);